package com.dmagic.cms.service;

import java.util.List;
import java.util.Map;

import com.dmagic.cms.common.exception.ServiceException;
import com.dmagic.cms.entity.ProductCategory;

public interface ProductCategoryService {
	/**
	 * @param categorys
	 */
	public void saveCategory(List<Map> categorys) throws ServiceException;

	/**
	 * @param categorys
	 */
	public void saveCategory2(List<Map> categorys) throws ServiceException;

	public List<ProductCategory> getAllParentCategory();

	public List<ProductCategory> getAllProductCategoryByLanguage(Long languageId);

	public void deleteCategory(Long categorysId) throws ServiceException;

	public List<ProductCategory> getSuccessfulCaseCategoryByLanguage(Long languageId);
}
